package cn.cl.gulimall.product.service;

import cn.cl.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.cl.common.utils.PageUtils;
import cn.cl.gulimall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author 高志红
 * @email 1739745826@qq.com
 * @date 2020-05-07 19:59:24
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

	PageUtils queryPage(Map<String, Object> params);

	PageUtils queryPage(Map<String, Object> params, Long catelogId);

	/**
	 * 获取分类下所有的分组以及属性
	 */
	List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

